<!DOCTYPE html>
<html>
<!-- Mirrored from www.zi-han.net/theme/hplus/table_bootstrap.html by HTTrack Website Copier/3.x [XR&CO'2014], Wed, 20 Jan 2016 14:20:03 GMT -->
<head>
    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>产品管理</title>
    <meta name="keywords" content="产品管理">
    <meta name="description" content="产品管理">
    <link rel="shortcut icon" href="favicon.ico">
    <link href="../css/bootstrap.min14ed.css?v=3.3.6" rel="stylesheet">
    <link href="../css/font-awesome.min93e3.css?v=4.4.0" rel="stylesheet">
    <link href="../css/plugins/bootstrap-table/bootstrap-table.min.css" rel="stylesheet">
    <link href="../css/animate.min.css" rel="stylesheet">
    <link href="../css/style.min862f.css?v=4.1.0" rel="stylesheet">
    <link href="../css/plugins/sweetalert/sweetalert.css" rel="stylesheet">
    <link href="../css/plugins/chosen/chosen.css" rel="stylesheet">
    <link href="../css/plugins/awesome-bootstrap-checkbox/awesome-bootstrap-checkbox.css" rel="stylesheet">
    <!-- 富文本域 -->
    <link href="../css/plugins/summernote/summernote.css" rel="stylesheet">
    <link href="../css/plugins/summernote/summernote-bs3.css" rel="stylesheet">
    <!-- 图库 -->
    <link href="../js/plugins/fancybox/jquery.fancybox.css" rel="stylesheet">
    <!-- 多选按钮 -->
    <link href="../css/plugins/iCheck/custom.css" rel="stylesheet">
    <link href="../js/umeditor2/xiumi-ue-v5.css" rel="stylesheet" />
</head>
<style>
    #file-pretty .input-group-btn button{
        margin-top: 1px;
    }
</style>

<body class="gray-bg">
<div class="wrapper wrapper-content animated fadeInRight">
    <div class="ibox float-e-margins">
        <div class="ibox-content">
            <div class="panel-body">
                <div id="edit">
                    <form class="form-horizontal m-t" id="productForm">
                        <input type="hidden" id="modalType" value="" />
                        <input type="hidden" id="productId" name="productId" value="" />
                        <input type="hidden" id="productImgUrl" name="productImgUrl" value="" />
                        <input type="hidden" id="productContent" name="productContent" value="" />
                        <div class="form-group">
                            <label class="col-sm-2 control-label">标题</label>
                            <div class="col-sm-8">
                                <input id="productTitleOne" name="productTitleOne" placeholder="请输入标题" type="text" class="form-control">
                            </div>
                        </div>
                        <div class="form-group">
                            <label class="col-sm-2 control-label">摘要</label>
                            <div class="col-sm-8">
                                <textarea id="productTitleTwo" name="productTitleTwo" placeholder="请输入摘要" class="form-control" rows="3" onkeyup="wordStatic(this);" maxlength="60"></textarea>
                                <div style="position: relative;top: -23px;left: 94%;"><span id="num">0</span>/60</div>
                            </div>
                        </div>
                        <div class="form-group">
                            <label class="col-sm-2 control-label">产品排序
                                <div class="tooltip-demo" style="float: right;">
                                    <i class="fa fa-question-circle" data-toggle="tooltip" data-placement="right" title="排序规制：序号可以相同，先判断序号大小，序号相同则根据修改时间进行排序"></i>
                                </div>
                            </label>
                            <div class="col-sm-4">
                                <input id="productTypeSort" name="productTypeSort" placeholder="请输入排序，序号越小就越在前面" type="text" class="form-control">
                            </div>
                        </div>
                        <!--<div class="form-group">-->
                            <!--<label class="col-sm-2 control-label">是否精彩产品</label>-->
                            <!--<div class="col-sm-8">-->
                                <!--<div class="radio radio-info radio-inline">-->
                                    <!--<input type="radio" id="isDelicacy2" value="1" name="isDelicacy"> <label for="isDelicacy2">是 </label>-->
                                <!--</div>-->
                                <!--<div class="radio radio-info radio-inline">-->
                                    <!--<input type="radio" id="isDelicacy1" value="0" name="isDelicacy" checked="checked"> <label for="isDelicacy1">否</label>-->
                                <!--</div>-->
                            <!--</div>-->
                        <!--</div>-->
                        <!--<div class="form-group">-->
                            <!--<label class="col-sm-2 control-label">是否首页轮播</label>-->
                            <!--<div class="col-sm-8">-->
                                <!--<div class="radio radio-info radio-inline">-->
                                    <!--<input type="radio" id="isCarousel2" value="1" name="isCarousel"> <label for="isCarousel2">是 </label>-->
                                <!--</div>-->
                                <!--<div class="radio radio-info radio-inline">-->
                                    <!--<input type="radio" id="isCarousel1" value="0" name="isCarousel" checked="checked"> <label for="isCarousel1">否</label>-->
                                <!--</div>-->
                            <!--</div>-->
                        <!--</div>-->
                        <!--<div class="form-group">-->
                            <!--<label class="col-sm-2 control-label">是否产品轮播</label>-->
                            <!--<div class="col-sm-8">-->
                                <!--<div class="radio radio-info radio-inline">-->
                                    <!--<input type="radio" id="isCaseCarousel2" value="1" name="isCaseCarousel"> <label for="isCaseCarousel2">是 </label>-->
                                <!--</div>-->
                                <!--<div class="radio radio-info radio-inline">-->
                                    <!--<input type="radio" id="isCaseCarousel1" value="0" name="isCaseCarousel" checked="checked"> <label for="isCaseCarousel1">否</label>-->
                                <!--</div>-->
                            <!--</div>-->
                        <!--</div>-->
                        <div class="form-group" >
                            <label class="col-sm-2  control-label">
                                <span id="fileName">封面图片</span>
                                <div class="tooltip-demo" style="float: right;">
                                    <i class="fa fa-question-circle" data-toggle="tooltip" data-placement="right" title="首页封面图，图片仅支持jpg/png格式，大小必须在5MB以下。"></i>
                                </div>
                            </label>
                            <div class="col-sm-8">
                                <div id="file-pretty">
                                    <input type="file" name="configAtta" id="configAtta"  class="form-control" accept="image/*">
                                </div>
                            </div>
                        </div>
                        <div id="divIMG" class="form-group" style="display: none;">
                            <label class="col-sm-2 control-label"></label>
                            <div id="divImgDoc" class="col-sm-10"></div>
                        </div>
                        <div class="form-group">
                            <label class="col-sm-2 control-label">产品详情
                                <div class="tooltip-demo" style="float: right;">
                                    <i class="fa fa-question-circle" data-toggle="tooltip" data-placement="right" title="填写产品详情内容"></i>
                                </div>
                            </label>
                            <div class="col-sm-8">
                                <!-- style给定宽度可以影响编辑器的最终宽度 -->
                                <div style="height:960px;" id="productContentEdit"></div>
                            </div>
                        </div>
                        <div id="productContentDiv" class="form-group" style="display: none;">
                            <label class="col-sm-2 control-label"></label>
                            <div id="productFile" class="col-sm-10"></div>
                        </div>
                        <div class="form-group">
                            <div class="col-sm-4 col-sm-offset-2">
                                <button id="btnSave" class="btn btn-primary" type="button">
                                    <span class="fa fa-save" aria-hidden="true"></span> 保存内容
                                </button>
                                <button id="btnEnd" class="btn btn-outline btn-primary" type="button">
                                    <span class="fa fa-close" aria-hidden="true"></span> 关 闭
                                </button>
                            </div>
                        </div>
                    </form>
                </div>
            </div>
        </div>
    </div>
    <!-- End Panel Basic -->
</div>

<script src="../js/jquery.min.js?v=2.1.4"></script>
<script src="../js/bootstrap.min.js?v=3.3.6"></script>
<script src="../js/content.min.js?v=1.0.0"></script>
<script src="../js/plugins/bootstrap-table/bootstrap-table.min.js"></script>
<script src="../js/plugins/bootstrap-table/bootstrap-table-mobile.min.js"></script>
<script src="../js/plugins/bootstrap-table/locale/bootstrap-table-zh-CN.min.js"></script>
<!-- <script src="../js/demo/bootstrap-table-demo.min.js"></script> -->
<script src="../js/plugins/validate/jquery.validate.min.js"></script>
<script src="../js/plugins/sweetalert/sweetalert.min.js"></script>
<!-- 下拉框js -->
<script src="../js/plugins/chosen/chosen.jquery.js"></script>
<!-- 文件js -->
<script src="../js/plugins/prettyfile/bootstrap-prettyfile.js"></script>
<!-- 提示框 -->
<script src="../js/content.min.js?v=1.0.0"></script>
<!-- 富文本域 -->
<script src="../js/plugins/summernote/summernote.min.js"></script>
<script src="../js/plugins/summernote/summernote-zh-CN.js"></script>
<!-- 图库 -->
<script src="../js/plugins/fancybox/jquery.fancybox.js"></script>
<!-- 时间控件 -->
<script src="../js/plugins/layer/laydate/laydate.js"></script>
<script src="../common/js/aes.js" type="text/javascript"></script>
<script src="../common/js/CommonUtils.js"></script>
<!-- 多选按钮 -->
<!-- 搜索下拉框 -->
<script src="../js/bootstrap-select.min.js"></script>
<script src="../js/plugins/iCheck/icheck.min.js"></script>
<!-- umeditor文办编辑器 -->
<script type="text/javascript" charset="utf-8" src="../js/umeditor2/ueditor.config.js"></script>
<script type="text/javascript" charset="utf-8" src="../js/umeditor2/ueditor.all.js"> </script>
<script type="text/javascript" charset="utf-8" src="../js/umeditor2/lang/zh-cn/zh-cn.js"></script>
<script type="text/javascript" charset="utf-8" src="../js/umeditor2/xiumi-ue-dialog-v5.js"></script>
<script src="product_add.js"></script>
<script>
    UE.Editor.prototype._bkGetActionUrl = UE.Editor.prototype.getActionUrl;
    UE.Editor.prototype.getActionUrl = function(action) {
        if (action == 'uploadimage' || action == 'uploadscrawl' || action == 'uploadimage') {
            return '/init/ueditor/imgUpload';
            //'http://localhost:8080/imgUpload';为方法imgUpload的访问地址
        } else {
            return this._bkGetActionUrl.call(this, action);
        }
    }
</script>
</body>
<!-- Mirrored from www.zi-han.net/theme/hplus/table_bootstrap.html by HTTrack Website Copier/3.x [XR&CO'2014], Wed, 20 Jan 2016 14:20:06 GMT -->
</html>
